﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Microsoft.Practices.Prism.Mvvm;

namespace FM.录音.Models
{
    public class 树枝命令1 : BindableBase
    {
        private bool _is启用;
        private string _图标;
        private string _名称;
        private string _提示;

        public bool Is启用
        {
            get { return _is启用; }
            set {SetProperty(ref _is启用 ,value) ; }
        }

        public ICommand 命令 { get; set; }

        public string 图标
        {
            get { return _图标; }
            set { SetProperty(ref _图标, value); }
        }

        public string 名称
        {
            get { return _名称; }
            set { SetProperty(ref _名称, value); }
        }

        public string 提示
        {
            get { return _提示; }
            set { SetProperty(ref _提示, value); }
        }
    }

    public class 树枝命令列表1 : BindableBase
    {
        private 树枝命令1 _命令1;
        private 树枝命令1 _命令2;
        private 树枝命令1 _命令3;
        private 树枝命令1 _命令4;
        public dynamic 数据 { get; set; }

        public 树枝命令1 命令1
        {
            get { return _命令1; }
            set { SetProperty(ref _命令1, value); }

        }

        public 树枝命令1 命令2
        {
            get { return _命令2; }
            set { SetProperty(ref _命令2, value); }

        }

        public 树枝命令1 命令3
        {
            get { return _命令3; }
            set { SetProperty(ref _命令3, value); }
        }

        public 树枝命令1 命令4
        {
            get { return _命令4; }
            set { SetProperty(ref _命令4, value); }

        }
    }
}
